package com.lyfx.common.to.es;

import lombok.Data;

import java.util.List;

/**
 * @author lsy
 * @create 2020-07-24-20:54
 */
@Data
public class CourseModel {
    private Long courseId;
    private String name;
    private String classImg;
    private String descript;
    private Integer courseHeat;
    private Long categoryId;
    private String categoryName;
    private List<Attrs> attrs;
    @Data
    public static class Attrs{
        private Long attrId;
        private String attrName;
        private String attrValue;
    }

}
